package com.study.test3;

/**
 * @Auther: 杨通通
 * @Date: 2024/11/29 22:56
 * @Description:
 */
public class kebianccnashu1 {

    public static void main(String[] args) {
        add(1,3,4);
    }

    public static void add(Integer... param){
        Integer count = 0;
        for (Integer i:
             param) {
            count = count+i;
        }
        System.out.println(count);
    }
}